// 父容器
.container-box {
  width: 100%;
  height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  // 上部
  .screen-container {
    width: 100%;
    /* height: 64px;
    line-height: 64px;*/

    font-size: 14px;

    .font-title {
      font-weight: 400;
    }

    .el-input__inner {
      padding: 0 30px 0 12px;
    }
  }

  // 下部分
  .page-container {
    display: flex;
    flex: 1;
    // 左侧
    .left-container {
      width: 240px;
      height: 100%;
      display: flex;
      flex-direction: column;
      padding: 10px 0;
      overflow: auto;
      border-right: 1px solid #e8e8e8;
      border-top: 1px solid #e8e8e8;
    }

    // 右侧
    .right-container {
      flex: 1;
      height: 100%;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      padding: 20px;
    }
  }

  // 底部
  .page-footer {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid #e8e8e8;
  }
}

// dialog对话框
.dia-style {
  .el-dialog {
    height: 80vh;
    border-radius: 4px !important;
    // max-height: calc(98% - 30px);
    //  display: flex;
    .el-dialog__header {
      font-weight: 700;
      padding: 0 20px;
      height: 56px;
      line-height: 56px;
      font-size: 20px;
      color: rgba(0, 0, 0, 0.85);
      border-bottom: 1px solid #e8e8e8;
      position: relative;
    }

    .el-dialog__body {
      // max-height: 540px;
      padding: 20px;
      overflow: auto;
    }

    .el-dialog__footer {
      width: 100%;
      padding: 12px;
      border-top: 1px solid #e8e8e8;
      text-align: right;
    }
  }
}

// 提示
.tips {
  height: 16px;
  margin-bottom: 20px;
  padding-left: 10px;
  display: flex;
  align-items: center;
  border-left: 4px solid #1890ff;
  color: #303032;
  font-weight: 700;
  font-size: 16px;
}

// 空展示框
.empty-content-zzp {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #909399;
}

.app-main {
  height: 100%;
  overflow: hidden;
  //background: rgb(238, 240, 245);
}

* {
  // user-select: none;
}

// 滚动条样式
/* 整个滚动条 */
::-webkit-scrollbar {
  /* 对应纵向滚动条的宽度 */
  width: 6px;
  /* 对应横向滚动条的宽度 */
  height: 6px;
}

/* 滚动条上的滚动滑块 */
::-webkit-scrollbar-thumb {
  background-color: #d9d9d9;
  border-radius: 32px;
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background-color: #fff;
  border-radius: 32px;
}
/* 滚动条右下角小白块 */
::-webkit-scrollbar-corner {
  background: transparent;
}
// 选项卡槽
.m-header .header-block {
  margin-right: 10px;
  height: 120px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
  flex: 1;
  background-color: #fff;
  box-shadow: 0 0 40px 0 rgb(0 0 0 / 8%);

  .header-img {
    width: 48px;
    height: 48px;
    margin-right: 20px;
    border-style: none;
  }

  .h-count {
    font-size: 30px;
    color: #2979ff;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 6px;
  }

  .h-name {
    font-family: MicrosoftYaHei;
    font-size: 14px;
    color: #303032;
    font-weight: 400;
  }

  &:hover {
    transform: translateY(-3px) scale(1.02);
  }

  &.h-acitve {
    position: relative;

    &::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: #4b6eef;
      border-radius: 0px 0px 4px 4px;
    }
  }

  &:nth-of-type(4) {
    margin-right: 60px;
  }

  &:nth-of-type(n + 5) {
    .h-count {
      color: #3ec59a;
    }

    &.h-acitve {
      &::before {
        background: #3ec59a;
      }
    }
  }
}

::v-deep .el-table {
  overflow: auto !important;
}

// 修改el-tree样式
.preset-log {
  padding: 20px;

  .el-icon-caret-right:before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    font-size: 16px;
    background-image: url(../images/zuzhi.png);
    background-repeat: no-repeat;
    background-size: contain;
  }

  .el-tree > .el-tree-node > .el-tree-node__content > .el-tree-node__expand-icon:before {
    background-image: url(../images/org.png);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .el-tree .expanded {
    transform: rotate(0deg) !important;
  }

  .el-tree {
    font-size: 14px;
  }
}

.app-container {
  width: 100%;
  //height: 100%;
  padding: 20px;
}

.flex {
  display: flex;

  align-items: center;
}

.box {
  padding: 20px;
  //border: 1px solid rgba(54, 94, 255, 0.4);
  border-radius: 4px;
  background: #e9edfb;
}

// 树节点样式
.el-tree-node__content {
  height: 40px !important;
  line-height: 40px !important;
}
.el-tree-node__label,
.el-tree-node_box {
  display: block;
  flex: 1;
  width: calc(100% - 60px);
  text-overflow: ellipsis;
  overflow: hidden;
}

.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
  background-color: #e6edf9;
  color: #4b6eef;
}
.el-table__fixed::before,
.el-table__fixed-right::before {
  display: none;
}
.el-table__body-wrapper.is-scrolling-none {
  // height: auto !important;
}
// 事件级别判断
.Inspan {
  display: inline-block;
  padding: 0 10px;
  border-radius: 3px;
  font-size: 12px;
  &::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: #cb9900;
    margin-right: 5px;
  }

  // 特别重大
  &.serious {
    background: rgba(255, 53, 53, 0.2);
    color: #fa541c;
    border: 1px solid rgba(255, 163, 158, 1);

    &::before {
      background-color: #fa541c;
    }
  }

  // 重大
  &.major {
    background: rgba(255, 154, 0, 0.2);
    color: #faad14;
    border: 1px solid #faad14;

    &::before {
      background-color: #faad14;
    }
  }

  &.big {
    background: rgba(59, 139, 255, 0.2);
    color: #4b6eef;
    border: 1px solid #4b6eef;

    &::before {
      background-color: #4b6eef;
    }
  }

  &.simple {
    background: rgba(58, 191, 129, 0.2);
    color: #3abf81;
    border: 1px solid #3abf81;

    &::before {
      background-color: #3abf81;
    }
  }
}

// 小标题样式
.ntips {
  height: 60px;
  line-height: 60px;

  font-size: 16px;
  font-weight: 700;
}

.el-tag-custom {
  background: #e6edf9 !important;
  border-radius: 4px !important;
  color: rgba(0, 0, 0, 0.85) !important;
  border: 0px !important;
}

// 去掉所有表格最下面的线
.el-table::before,
.el-table--group::after,
.el-table--border::after {
  display: none;
}

// 去掉可以折叠的表格的下面的线

.el-table td.el-table__cell.el-table__expanded-cell:last-of-type {
  border-bottom: none;
}

// 折叠框的个表格margintop值为0
.el-table__cell.el-table__expanded-cell .el-table {
  margin-top: 0;
}

// 调整表格边距和按钮边距
.el-table {
  margin-top: 20px;
}

.el-form {
  & + .el-button,
  & + .el-row,
  & + .el-col {
    margin-top: 20px;
  }
}

.el-table td.el-table__cell.el-table__expanded-cell:last-of-type {
  border-bottom: none;
}

//  带边框的tabs
.app-container {
  .tabs {
    width: 270px;
    height: 100%;
    padding: 0 20px !important;
    border-right: 1px solid rgba(0, 0, 0, 0.08);

    .card-container {
      margin-top: 20px !important;
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 20px;
      border: 1px solid #ebebeb;
      border-radius: 4px;
      cursor: pointer;

      &:hover {
        border: 1px solid #4b6eef;
      }

      &.active {
        border: 1px solid transparent;
      }
    }

    .card-pic {
      display: flex !important;
    }

    .card-text {
      width: 120px !important;
      margin: 0 0 0 20px !important;

      p {
        margin: 0px !important;
      }
    }
  }

  .container {
    width: calc(100% - 270px) !important;
    flex: 1;
  }
}

.el-input__inner:hover {
  border-color: #4b6eef !important;
}

// dialog框内样式单独
.el-dialog__wrapper {
  .el-form {
    .el-form-item--small.el-form-item {
      margin-bottom: 20px;
    }
  }

  .el-form-item {
    margin-bottom: 20px;
  }
}

// 修改button颜色
button.el-button.el-button--primary {
  color: #ffffff !important;
  background-color: #4b6eef !important;
  border-color: #4b6eef !important;
}

// 去掉下拉框的尖尖
.el-popper[x-placement^='bottom'] .popper__arrow {
  display: none;
}

.has-gutter {
  background: #f8f8f9 !important;
}

.el-menu--horizontal > .el-menu-item,
.el-submenu__title {
  color: #262626 !important;
}

.el-menu-item > .svg-icon {
  color: #5b5d66;
}
.el-menu-item:hover > .svg-icon {
  color: #4b6eef;
}
.el-menu-item.is-active > .svg-icon {
  color: #4b6eef;
}

// 安全模型
.main-wk {
  position: relative;
  height: 100%;

  .tip {
    z-index: 10;
    height: 95%;
    overflow: auto;
    position: absolute;
    top: 0px;
    right: 0;
    width: 20%;
    //box-shadow: 0 0 10px 2px rgba(0, 0, 0, .3);
    .el-collapse {
      border: 0px !important;
      .el-collapse-item__header {
        padding: 0 15px;
        border: 0px !important;
        background: #fafafa;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
      }
      .el-collapse-item__wrap {
        border: 0 !important;
      }
      .el-collapse-item__content {
        padding: 15px;
        > div {
          margin-bottom: 10px;
        }
        .sub-title {
          color: rgba(0, 0, 0, 0.45);
        }
      }
      .el-collapse-item {
        margin-top: -1px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        border-right: 1px solid rgba(0, 0, 0, 0.08);
        &:nth-last-child(1) {
          border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        }
        &:nth-of-type(1) {
          border-top: 2px solid rgba(0, 0, 0, 0.08);
        }
      }
    }
    .tip-title {
      padding: 10px;
      text-align: center;
    }
  }

  .tip-chart {
    padding: 20px;
  }
}
.content-wk {
  padding: 20px;
}

#__qiankun_microapp_wrapper_for_zjg__ {
  width: 100%;
  height: 100%;
}
.el-table {
  position: relative;
  .el-table__body-wrapper::-webkit-scrollbar {
    width: 4px; /*滚动条宽度*/
    height: 4px; /*滚动条高度*/
  }
  /*定义滚动条轨道 内阴影+圆角*/
  //  .el-table__body-wrapper::-webkit-scrollbar-track {
  //     box-shadow: 0px 1px 3px #071e4a inset; /*滚动条的背景区域的内阴影*/
  //     border-radius: 10px; /*滚动条的背景区域的圆角*/
  //     background-color: #071e4a; /*滚动条的背景颜色*/
  // }

  /*定义滑块 内阴影+圆角*/
  // .el-table__body-wrapper::-webkit-scrollbar-thumb {
  //     box-shadow: 0px 1px 3px #00a0e9 inset; /*滚动条的内阴影*/
  //     border-radius: 10px; /*滚动条的圆角*/
  //     background-color: #00a0e9; /*滚动条的背景颜色*/
  // }
}
.el-table_fixed,
.el-table__fixed-right {
  // height:calc(100% - 4px) !important;
  background: #fff;
}
.el-table__body-wrapper {
  width: calc(100% - 4px) !important;
}
.el-table__fixed-body-wrapper {
  height: 100 !important;
}
.el-table__fixed-body-wrapper .el-table__body {
  padding-bottom: 20px; // 滚动条高度
}

.hk-flex {
  display: flex;
}
.hkflex-cloumn {
  display: flex;
  flex-direction: column;
}
.targetTable {
  overflow: hidden;
}
